home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / misc / compsci / arcsgm.cpt / ARC SGML 1.0 / test results / 0Notes on these tests next >
Encoding:
Text File  |  1991-12-17  |  1.3 KB  |  35 lines

  1. These tests all require setting the -S (detailed parse) switch to get the correct
  2. results. In addition test2 requires the -D (report duplicates) switch to match
  3. the DOS run.
  4.  
  5. The general MPW script to run and check results with Think C and DOS is:
  6.  
  7. # Run the test.
  8. vm2 -S test1.SGM >test1.vm2
  9.  
  10. # Compare with Think C 5 result. Should be identical!
  11. CompareFiles 'N100i:Development:ARC SGML:test1.vm2a' test1.vm2
  12.  
  13. # Compare with DOS result. Should be the same except for path names.
  14. # test1 is an exception exhibiting a difference between printf processing in TC5
  15. # and MPW at 024 001.
  16. CompareFiles 'T200R:ARC SGML s&z:test:test1.VM2' test1.vm2
  17.  
  18. Tests requiring a different invocation to give same results:
  19.  
  20. # Test2 requires the following command line:
  21. vm2 -D -S test1.SGM >test2.vm2
  22.  
  23. # Concat test requires the following command line:
  24. vm2 -S 'concat1.gml;concat2.gml' >concat1.vm2
  25.  
  26. # Default test requires the following command line. Note that the commando interface
  27. # doesn't support this type of call!
  28. vm2 -R -S 'concat1.gml;concat2.gml' >concat1.vm2
  29.  
  30. The MEMO?.SGM documents do not give identical results to the distributed results.
  31. However, the distributed versions, when run through the executables supplied on
  32. DOS give identical results to the Macintosh versions.
  33.  
  34.                                             Wally Wedel
  35.                                             12/17/91